package com.yswy.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("app 用户登录记录")
@TableName(value = "app_user_login_log")
public class UserLoginLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("用户 Id")
    private Long userId ;
    @ApiModelProperty("登录渠道")
    private String channle ;
    @ApiModelProperty("登录版本")
    private String version ;
    @ApiModelProperty("登录ip")
    private String loginIp ;
    @ApiModelProperty("创建时间")
    private Date createTime = new Date();


}
